#!/bin/sh

id=${buildId} 
buildNo=${BUILD_NUMBER}
if [ ${id} -ne 0 ]
then
	curl -H "Content-Type:application/json" -XPUT http://10.0.11.58:8005/jenkins/building -d '{"id" : "'${id}'"  , "buildNo" : "'${buildNo}'"}'
else
	echo  'skip  building'
fi